package cn.sirun.com.fca.account.presenter;

import com.tencent.cloud.iov.flow.presenter.IPresenter;

import cn.sirun.com.fca.account.model.login.AuthenticateRequest;
import cn.sirun.com.fca.account.model.login.ChallengeRequest;
import cn.sirun.com.fca.account.model.login.LoginRequest;
import cn.sirun.com.fca.account.model.login.PersonalInfoRequest;

public interface ILoginPresenter extends IPresenter {

    /**
     * 获取盐等信息
     *
     * @param request
     */
    void challenge(ChallengeRequest request);

    /**
     * 账号密码登录
     *
     * @param request
     */
    void passwordLogin(LoginRequest request);

    /**
     * 获取客户端置信证明
     *
     * @param request
     */
    void authenticate(AuthenticateRequest request);

    void getVehicle();

    /**
     * 获取个人信息
     *
     * @param request
     */
    void getPersonalInfo(PersonalInfoRequest request);

    /**
     * 获取车辆信息
     * @param din
     */
    void getCarInfo(String din);

}
